/****************************************************************************
** Meta object code from reading C++ file 'npcap_monitor.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.12.11)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/

#include "../src/tools_blck/npcap_monitor.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'npcap_monitor.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.12.11. It"
#error "cannot be used with the include files from this version of Qt."
#error "(The moc has changed too much.)"
#endif

QT_BEGIN_MOC_NAMESPACE
QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
struct qt_meta_stringdata_run_npcap_t {
    QByteArrayData data[12];
    char stringdata0[117];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_run_npcap_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_run_npcap_t qt_meta_stringdata_run_npcap = {
    {
QT_MOC_LITERAL(0, 0, 9), // "run_npcap"
QT_MOC_LITERAL(1, 10, 11), // "packet_trig"
QT_MOC_LITERAL(2, 22, 0), // ""
QT_MOC_LITERAL(3, 23, 5), // "char*"
QT_MOC_LITERAL(4, 29, 8), // "pkg_time"
QT_MOC_LITERAL(5, 38, 18), // "const pcap_pkthdr*"
QT_MOC_LITERAL(6, 57, 6), // "header"
QT_MOC_LITERAL(7, 64, 13), // "const u_char*"
QT_MOC_LITERAL(8, 78, 8), // "pkt_data"
QT_MOC_LITERAL(9, 87, 10), // "npcap_sync"
QT_MOC_LITERAL(10, 98, 11), // "const char*"
QT_MOC_LITERAL(11, 110, 6) // "d_name"

    },
    "run_npcap\0packet_trig\0\0char*\0pkg_time\0"
    "const pcap_pkthdr*\0header\0const u_char*\0"
    "pkt_data\0npcap_sync\0const char*\0d_name"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_run_npcap[] = {

 // content:
       8,       // revision
       0,       // classname
       0,    0, // classinfo
       2,   14, // methods
       0,    0, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       1,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    3,   24,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       9,    1,   31,    2, 0x0a /* Public */,

 // signals: parameters
    QMetaType::Void, 0x80000000 | 3, 0x80000000 | 5, 0x80000000 | 7,    4,    6,    8,

 // slots: parameters
    QMetaType::Void, 0x80000000 | 10,   11,

       0        // eod
};

void run_npcap::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<run_npcap *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->packet_trig((*reinterpret_cast< char*(*)>(_a[1])),(*reinterpret_cast< const pcap_pkthdr*(*)>(_a[2])),(*reinterpret_cast< const u_char*(*)>(_a[3]))); break;
        case 1: _t->npcap_sync((*reinterpret_cast< const char*(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (run_npcap::*)(char * , const pcap_pkthdr * , const u_char * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&run_npcap::packet_trig)) {
                *result = 0;
                return;
            }
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject run_npcap::staticMetaObject = { {
    &QThread::staticMetaObject,
    qt_meta_stringdata_run_npcap.data,
    qt_meta_data_run_npcap,
    qt_static_metacall,
    nullptr,
    nullptr
} };


const QMetaObject *run_npcap::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
}

void *run_npcap::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_run_npcap.stringdata0))
        return static_cast<void*>(this);
    return QThread::qt_metacast(_clname);
}

int run_npcap::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QThread::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 2)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 2;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 2)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 2;
    }
    return _id;
}

// SIGNAL 0
void run_npcap::packet_trig(char * _t1, const pcap_pkthdr * _t2, const u_char * _t3)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)), const_cast<void*>(reinterpret_cast<const void*>(&_t3)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}
struct qt_meta_stringdata_npcap_monitor_t {
    QByteArrayData data[19];
    char stringdata0[252];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_npcap_monitor_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_npcap_monitor_t qt_meta_stringdata_npcap_monitor = {
    {
QT_MOC_LITERAL(0, 0, 13), // "npcap_monitor"
QT_MOC_LITERAL(1, 14, 10), // "npcap_trig"
QT_MOC_LITERAL(2, 25, 0), // ""
QT_MOC_LITERAL(3, 26, 11), // "const char*"
QT_MOC_LITERAL(4, 38, 6), // "d_name"
QT_MOC_LITERAL(5, 45, 24), // "on_ui_update_dev_clicked"
QT_MOC_LITERAL(6, 70, 22), // "on_ui_open_dev_clicked"
QT_MOC_LITERAL(7, 93, 23), // "on_ui_start_cap_clicked"
QT_MOC_LITERAL(8, 117, 23), // "on_ui_close_cap_clicked"
QT_MOC_LITERAL(9, 141, 23), // "on_ui_table_cellClicked"
QT_MOC_LITERAL(10, 165, 3), // "row"
QT_MOC_LITERAL(11, 169, 6), // "column"
QT_MOC_LITERAL(12, 176, 11), // "packet_sync"
QT_MOC_LITERAL(13, 188, 5), // "char*"
QT_MOC_LITERAL(14, 194, 8), // "pkg_time"
QT_MOC_LITERAL(15, 203, 18), // "const pcap_pkthdr*"
QT_MOC_LITERAL(16, 222, 6), // "header"
QT_MOC_LITERAL(17, 229, 13), // "const u_char*"
QT_MOC_LITERAL(18, 243, 8) // "pkt_data"

    },
    "npcap_monitor\0npcap_trig\0\0const char*\0"
    "d_name\0on_ui_update_dev_clicked\0"
    "on_ui_open_dev_clicked\0on_ui_start_cap_clicked\0"
    "on_ui_close_cap_clicked\0on_ui_table_cellClicked\0"
    "row\0column\0packet_sync\0char*\0pkg_time\0"
    "const pcap_pkthdr*\0header\0const u_char*\0"
    "pkt_data"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_npcap_monitor[] = {

 // content:
       8,       // revision
       0,       // classname
       0,    0, // classinfo
       7,   14, // methods
       0,    0, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       1,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    1,   49,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       5,    0,   52,    2, 0x08 /* Private */,
       6,    0,   53,    2, 0x08 /* Private */,
       7,    0,   54,    2, 0x08 /* Private */,
       8,    0,   55,    2, 0x08 /* Private */,
       9,    2,   56,    2, 0x08 /* Private */,
      12,    3,   61,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void, 0x80000000 | 3,    4,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int, QMetaType::Int,   10,   11,
    QMetaType::Void, 0x80000000 | 13, 0x80000000 | 15, 0x80000000 | 17,   14,   16,   18,

       0        // eod
};

void npcap_monitor::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<npcap_monitor *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->npcap_trig((*reinterpret_cast< const char*(*)>(_a[1]))); break;
        case 1: _t->on_ui_update_dev_clicked(); break;
        case 2: _t->on_ui_open_dev_clicked(); break;
        case 3: _t->on_ui_start_cap_clicked(); break;
        case 4: _t->on_ui_close_cap_clicked(); break;
        case 5: _t->on_ui_table_cellClicked((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 6: _t->packet_sync((*reinterpret_cast< char*(*)>(_a[1])),(*reinterpret_cast< const pcap_pkthdr*(*)>(_a[2])),(*reinterpret_cast< const u_char*(*)>(_a[3]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (npcap_monitor::*)(const char * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&npcap_monitor::npcap_trig)) {
                *result = 0;
                return;
            }
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject npcap_monitor::staticMetaObject = { {
    &QWidget::staticMetaObject,
    qt_meta_stringdata_npcap_monitor.data,
    qt_meta_data_npcap_monitor,
    qt_static_metacall,
    nullptr,
    nullptr
} };


const QMetaObject *npcap_monitor::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
}

void *npcap_monitor::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_npcap_monitor.stringdata0))
        return static_cast<void*>(this);
    return QWidget::qt_metacast(_clname);
}

int npcap_monitor::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QWidget::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 7)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 7;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 7)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 7;
    }
    return _id;
}

// SIGNAL 0
void npcap_monitor::npcap_trig(const char * _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
